package com.LinkedList.learnLinkedList;

import com.sh.Iterator;

public interface List<T> {
    public int size();

    public Object get(int index);

    public boolean isEmpty();

    public boolean contains(Object o);

    public int indexOf(Object o);

    public void add(int i, Object o);

    public void add(Object o);

    public void addBefore(Object obj, Object e);

    public void addAfter(Object obj, Object e);

    public boolean remove(Object e);
    public T remove(int index);

    public Object replace(int i, Object e);

    public Iterator interator();


}
